package com.banding.algorithm;

import java.util.function.Consumer;

public class ConsumerAccept {
  public static void main(String[] args) {
    Consumer<String> nameConsumer = s -> System.out.println(s+".app");
    
    nameConsumer.accept("Mahesh");
    nameConsumer.accept("Krishna");
  }
} 
